class Settings:
    """存储所有设置的类"""

    def __init__(self):
        # 屏幕设置
        self.screen_width = 1200
        self.screen_height = 800
        self.bg_color = (230, 230, 230)
        # 飞船设置
        self.ship_speed_factor = 3.5
        # 子弹设定
        self.bullet_speed_factor = 5
        self.bullet_width = 5
        self.bullet_height = 10
        self.bullet_color = 60, 60, 60
        self.bullets_allowed = 300000
        # 外星人设定
        # 横向速度
        self.alien_speed_factor = 1
        # 纵向速度
        self.fleet_drop_speed = 10
        # fleet_direction为1表示向右移，为-1表示向左移
        self.fleet_direction = 1
